package com.smart.village.big.screen.domain;

import java.io.Serializable;
import java.util.List;

public class Menus implements Serializable {
    private static final long serialVersionUID = 1L;
    private String path;
    private String name;
    private String icon;
    private String text;
    public List<Menus> menus;
    private String type;

    public List<Menus> getMenus() {
        return menus;
    }

    public void setMenus(List<Menus> menus) {
        this.menus = menus;
    }

    void addChild(Menus child) {
        this.menus.add(child);
    }

    public Menus(String path, String name, String icon, String text, String type) {
        this.path = path;
        this.name = name;
        this.icon = icon;
        this.text = text;
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
